358e648501When releasing a window, hide it before removing decoration, otherwise it would be moved, causing ugly visual effect.
Luboš Luňák
2003-11-27 14:54:16 +00:00
8f181d8b52checkGroupTransients() uses hasTransient() to break loops, so it must detect them, fixes#69094
Luboš Luňák
2003-11-27 14:37:55 +00:00
4ee178b277Fix#69005 - make it possible to differentiate between a window really being shaded and being set to be shaded (which may differ with hover unshade).
Luboš Luňák
2003-11-25 15:26:50 +00:00
693d7d77c1People have strange ideas ... filter out unprintable characters from window captions. CCMAIL: 68882-done@bugs.kde.org
Luboš Luňák
2003-11-25 14:55:15 +00:00
897e67f79aPartially revert the recent xinerama commit - !isMapped == useCursorPos was always true, no need for another argument.
Luboš Luňák
2003-11-24 15:05:50 +00:00
5bbec2c584Compress MotionNotify events while user moving/resizing, this should make opaque resizing acceptable again, close#67471, and stop people complaining.
Luboš Luňák
2003-11-24 14:38:03 +00:00
0cf7454675And eventually user moving/resizing seems to work, even with aspect ratios. When moving/resizing, first do the operation unconstrained, then snap (now it should be even simple to implement snapping while resizing), then check workarea bounds and finally check constrains, while keeping the respective fixed order for the resize operation at the same position. Also geometry() -> initialMoveResizeGeometry, as geometry() may change with opaque move/resize.
Luboš Luňák
2003-11-24 14:31:02 +00:00
fde7aedf9cRemoved duplication of code.
Luboš Luňák
2003-11-24 14:30:31 +00:00
3768a7f31fI apparently didn't comprehend the user move/resize code, otherwise I wouldn't have added something that was there already.
Luboš Luňák
2003-11-24 14:29:57 +00:00
4cc6229be3*sigh*, how can somebody name variables for topleft and bottomright corners pp and p? This code is not easy to understand even without meaningless names.
Luboš Luňák
2003-11-24 14:26:58 +00:00
2c3f9c4069Some attempts to fix aspect ratios breaking resizing. When resizing windows manually (Client::handleMoveResize()) still doesn't work.
Luboš Luňák
2003-11-24 14:26:11 +00:00
0654c0d3b7Don't compare with itself when searching for other windows belonging to the app.
Luboš Luňák
2003-11-24 14:25:47 +00:00
2553476f53Don't require both mouse and keyboard grab for move/resize, one of them is enough. Allows resising of the configure shortcut dialog.
Luboš Luňák
2003-11-24 14:25:33 +00:00
162c76cf46Reset Client::buttonDown if startMoveResize() failed due to not being able to grab input. Visible with resizing the shortcut configure dialog, which has grab.
Luboš Luňák
2003-11-24 14:24:34 +00:00
fe0ab6d200Avoid making windows transient to themselves. Don't worry about creating loops with group transients, checkGroupTransients() will check for them and has better chances to break them correctly.
Luboš Luňák
2003-11-24 14:24:04 +00:00
87f8a85083Added KDecorationFactory::checkRequirements(), which allows the decoration plugin to check what the core supports, i.e. the opposite of supports(). Not used yet, but apparently will be needed e.g. for the new tranparency.
Luboš Luňák
2003-11-24 14:22:04 +00:00
94a6fd94b5CVS_SILENT made messages
Script Kiddy
2003-11-24 06:46:00 +00:00
0ebfcb64dbCVS_SILENT made messages
Script Kiddy
2003-11-23 07:07:16 +00:00
068f6c9994CVS_SILENT made messages
Script Kiddy
2003-11-22 06:47:13 +00:00
f859769bb3use the settings for xinerama placement
George Staikos
2003-11-21 23:05:35 +00:00
875fc62836Reimplement Xinerama placement. Patch from Balaji Ramani.
George Staikos
2003-11-21 23:00:38 +00:00
528b0ed6d7Fix#65279 - make sure windows hidden by apps are really hidden. The problem was visible even with { widget.show(); widget.hide(); }.
Luboš Luňák
2003-11-21 16:46:57 +00:00
225f12f1d3Attempt number 3251 at finally fixing #67914. This window grouping will have to be reworked for 3.3.
Luboš Luňák
2003-11-21 14:05:20 +00:00
064f1538c8Hmm, ok, I give up. Check only for IconicState in initial mapping state, treat all the other strange states as NormalState. Fixes WMaker applets. CCMAIL: 68069-done@bugs.kde.org
Luboš Luňák
2003-11-20 16:25:52 +00:00
d1cd1a1b18Check for deletion while handling mouse release on the close button. Fixes#67267.
Luboš Luňák
2003-11-20 13:31:19 +00:00
b7e040b873Fix#67683 by globally enabling/disabling tooltips. As the buttons are the only thing in kwin that has tooltips, this is fine. CCMAIL: 67683-done@bugs.kde.org
Luboš Luňák
2003-11-20 13:01:09 +00:00
b3c1af874aTemporarily comment out Q_ASSERT's about stacking order, as they're quite harmless, but everybody blames them in their bugreports.
Luboš Luňák
2003-11-20 09:05:32 +00:00
4e8799f86cCVS_SILENT made messages
Script Kiddy
2003-11-20 06:35:43 +00:00
b2b60d647fChange Client::checkGroupTransients() to really do what it's supposed to do, including indirect transiency. Should finally fix#67914 and all its dupes.
Luboš Luňák
2003-11-19 12:10:48 +00:00
0fb3d41e26If two windows are the same, they belong to the same application. Second part for #68553.
Luboš Luňák
2003-11-19 10:44:36 +00:00
290d7207e6Make sure the unconstrained_stacking_order list contains all clients. First part for #68553.
Luboš Luňák
2003-11-19 10:42:23 +00:00
95cc10f6caTry harder to find the matching topmenu for kdesktop.
Luboš Luňák
2003-11-18 18:10:36 +00:00
b55f71dcb7Debug output not necessary anymore.
Luboš Luňák
2003-11-18 17:07:40 +00:00
50d05b4ee5CVS_SILENT made messages
Script Kiddy
2003-11-18 06:35:17 +00:00
895627ddf9CVS_SILENT made messages
Script Kiddy
2003-11-16 06:44:37 +00:00
8c19bd27a6CVS_SILENT made messages
Script Kiddy
2003-11-15 06:53:57 +00:00
dc833b8b90CVS_SILENT made messages
Script Kiddy
2003-11-14 06:40:58 +00:00
e7c55a0c89Ouch ... thanks to Ossi for noticing.
Luboš Luňák
2003-11-13 18:27:31 +00:00
e243bdd43cOpen Konqueror at kde.org, open another one at kde.org, close the second one, open Konqueror at dot.kde.org -> it would still have the old caption in taskbar due to the old _NET_WM_VISIBLE_NAME property value -> fixed.
Luboš Luňák
2003-11-13 17:51:11 +00:00
33e9753f6bIf windows don't have _NET_WM_PID set, don't rely on pid1==pid2 when finding out if they're the same app. CCMAIL: 68087-done@bugs.kde.org
Luboš Luňák
2003-11-13 17:19:49 +00:00
e636ef9f6bWindows on all desktops are indeed on all desktops.
Luboš Luňák
2003-11-13 17:13:17 +00:00
182804067ccvsrevertlast - stupid idea
Luboš Luňák
2003-11-13 15:57:18 +00:00
037e47326cFix the strange stacking described in #68071.
Luboš Luňák
2003-11-13 15:34:04 +00:00
d46c7413c4Hopefully final fixes for topmenus managed by KWin to work (#66152). Written by Schizo, reviewed by Frenia. As it was broken anyway, I don't think this can break it more.
Luboš Luňák
2003-11-13 14:34:05 +00:00
1d71c9839bReserve space for topmenus, so there's no flicker, and the space is taken even with no topmenu shown. Support topmenus only when enabled in kdeglobals.
Luboš Luňák
2003-11-12 09:47:13 +00:00
f4604d4162Make sure topmenu is on the same virtual desktop as the active window for which it's shown.
Luboš Luňák
2003-11-11 18:51:10 +00:00
bd81e83d55Override-redirect windows in the window manager itself don't make any difference, and Keith Packard said it's better without it for some translucency toy or whatever it is, so let's get rid of WX11BypassWM in KWin.
Luboš Luňák
2003-11-11 18:38:19 +00:00
aa368f0cdcCVS_SILENT made messages
Script Kiddy
2003-11-11 07:12:58 +00:00
d369e69db0KWin controls showing/hiding of topmenus, block requests for it.
Luboš Luňák
2003-11-10 18:50:38 +00:00
f8886f4f01Make sure desktop is active after startup if there's no other window active
Luboš Luňák
2003-11-10 18:09:16 +00:00
70645a691aWhen a new window appears in a group, make sure group transients are transient for it.
Luboš Luňák
2003-11-10 18:08:59 +00:00
07b08d5d99Don't use struts if KWin itself restricts workarea size by topmenus.
Luboš Luňák
2003-11-10 18:08:04 +00:00
468633c0f7Fix reverseLayout Fix colors. But title bar pixmap must be reversed
Laurent Montel
2003-11-10 13:57:21 +00:00
14ec262147I'm glad you didn't actually write the "General Public Li_n_cense" :P
Clarence Dang
2003-11-09 13:40:49 +00:00
9582208fcaFixed rendering glitch in the "normalize" icon.
Luciano Montanaro
2003-11-09 00:41:10 +00:00
e3fd05e402Remove calls to KCModule::setChanged so that I may remove that method before the 3.2 release again.
Matthias Kretz
2003-11-08 23:43:53 +00:00
3310ff98fbCVS_SILENT made messages
Script Kiddy
2003-11-08 06:43:19 +00:00
d2c1750fa9Fix#67072 and all its dupes.
Luboš Luňák
2003-11-04 10:53:04 +00:00
29d74cee50CVS_SILENT made messages
Script Kiddy
2003-11-04 06:48:34 +00:00
2ebc2443fcCall decoration->borders() etc. in resetMaximize() too. -- Fixes some more problems for the Keramik decoration.
Sandro Giessl
2003-11-03 22:37:58 +00:00
cdd2873097CVS_SILENT made messages
Script Kiddy
2003-11-03 07:27:19 +00:00
fd896cc84dGet rid of the titlebar height slider. - It's not really necessary for usability reasons since the titlebar grows with bigger font sizes. - Confusing as it overlaps with the font size setting. - The space for the configuration dialog is quite limited. :) I guess removing strings doesn't violate the string freeze...
Sandro Giessl
2003-11-02 11:34:32 +00:00
69f858427eMake titlebar buttons only react on left-click, if they have one function only.
Sandro Giessl
2003-11-02 11:03:41 +00:00
7008c02051Make titlebar buttons only react on left-click, if they have one function only. (Bug #58220)
Sandro Giessl
2003-11-01 23:58:05 +00:00
3726cc23fdIMHO there is something strange going on with largeTitlebar, largeCaption etc. but the border calculation should be correct now (part 2 of Bug #65969).
Sandro Giessl
2003-11-01 16:46:18 +00:00
3b365b13e3CVS_SILENT made messages
Script Kiddy
2003-11-01 06:44:07 +00:00
0d96e60c81Yet another workaround for the crappy systray mechanism, looking forward to deprecate it. The tray should work again now.
Luboš Luňák
2003-10-31 17:56:10 +00:00
50a9e9aa2eEnabled the bottom border for shaded windows like it was the case for Keramik in KDE 3.1. Hope that's ok with everyone. (sorry for the ugly diff - seems like kate wasn't able to handle the characters in the empty lines...)
Sandro Giessl
2003-10-31 17:05:21 +00:00
b878ad84d9Make sure that when calling Workspace::clientHidden(), the client is really hidden, otherwise it could attempt to restore the focus back to this client. CCMAIL: 66926-done@bugs.kde.org
Luboš Luňák
2003-10-31 09:45:14 +00:00
f7a59dfd24Removing accelerators (<property name="accel">) from ui files. That is good because: - Makes .ui files smaller - Removes not necessary setAccel( QKeySequence( ) ); from the generated *.cpp - Translations teams don't get the accelerator to translate making it unpossible to generate errors because the & is placed in a letter and the accel is another letter.
Albert Astals Cid
2003-10-30 19:01:10 +00:00
76c19742f4Here as well - don't flicker.
Luboš Luňák
2003-10-30 18:25:43 +00:00
78a31324a0Make unobscuredRegion() ignore windows that cannot be visible on the same virtual desktop like the window. Prevent B2's titlebars affecting each other if they're on different virtual desktops.
Luboš Luňák
2003-10-30 18:12:23 +00:00
abdfd596b2And one more case of flickering ... how comes nobody complained?
Luboš Luňák
2003-10-30 18:01:43 +00:00
323806acbeDon't obscure windows that are not visible, otherwise switching between two empty desktops can flicker.
Luboš Luňák
2003-10-30 17:22:06 +00:00
240ad036d0Make system tray temporarily set _KDE_SYSTEM_TRAY_EMBEDDING property on windows while embedding them, allowing KWin to figure out it's being used and that it's not going away. This hack avoids the reparenting fight between KWin and QXEmbed where QXEmbed started to loose after the recent fixes. In order to make systray really work, QXEmbed still needs some fixes related to not destroying the embedded window.
Luboš Luňák
2003-10-30 10:10:54 +00:00
0ccd76db5fCVS_SILENT made messages
Script Kiddy
2003-10-30 06:59:45 +00:00
ea011dda6aBorrowed code for aspect ratios from elsewhere, this time from FVWM. Hopefully this one works better.
Luboš Luňák
2003-10-29 09:53:32 +00:00
4d095886afCVS_SILENT made messages
Script Kiddy
2003-10-29 06:57:32 +00:00
72be607175CVS_SILENT made messages
Script Kiddy
2003-10-28 07:40:05 +00:00
b884178c99KDecoration::unobscuredRegion(), for B2 titlebar unhiding.
Luboš Luňák
2003-10-27 16:28:53 +00:00
1709cb0e44Make KDecoration::minimumSize() mean the whole decoration size, not the inner window size.
Luboš Luňák
2003-10-27 14:42:43 +00:00
c07ab48f67CVS_SILENT style guide fixes
Stephan Binner
2003-10-27 09:51:27 +00:00
b7adc9ecabCVS_SILENT style guide fixes (part 1 of ?)
Stephan Binner
2003-10-26 10:07:54 +00:00
a21351b5a8- Don't forget to update buttons on color changes... - Replaced repaint()s with update().
Sandro Giessl
2003-10-25 13:57:28 +00:00
5698d10846CVS_SILENT Typographical corrections and changes
Malcolm Hunter
2003-10-24 11:24:15 +00:00
b9323cd4b2Don't use Tarzan-like speech for the shortcut descriptions. CCMAIL: Malcolm Hunter <malcolm.hunter@gmx.co.uk> Could somebody please proofread it? Thanks
Luboš Luňák
2003-10-24 09:07:27 +00:00
3a23e0775dFix focus stealing prevention for XV, just in case Coolo sometimes decides to run it again.
Luboš Luňák
2003-10-24 09:00:40 +00:00