Commit Graph

  • 358e648501 When 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
  • 8f181d8b52 checkGroupTransients() uses hasTransient() to break loops, so it must detect them, fixes #69094 Luboš Luňák 2003-11-27 14:37:55 +00:00
  • 965a44962e Don't keep group transients above topmenus. Luboš Luňák 2003-11-27 14:05:42 +00:00
  • 4ee178b277 Fix #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
  • 693d7d77c1 People 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
  • 897e67f79a Partially 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
  • f30a41aaa6 Oops. Luboš Luňák 2003-11-24 14:55:22 +00:00
  • 5bbec2c584 Compress 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
  • 0cf7454675 And 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
  • fde7aedf9c Removed duplication of code. Luboš Luňák 2003-11-24 14:30:31 +00:00
  • 3768a7f31f I 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
  • 2c3f9c4069 Some 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
  • 0654c0d3b7 Don't compare with itself when searching for other windows belonging to the app. Luboš Luňák 2003-11-24 14:25:47 +00:00
  • 2553476f53 Don'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
  • 162c76cf46 Reset 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
  • fe0ab6d200 Avoid 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
  • 87f8a85083 Added 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
  • 94a6fd94b5 CVS_SILENT made messages Script Kiddy 2003-11-24 06:46:00 +00:00
  • 0ebfcb64db CVS_SILENT made messages Script Kiddy 2003-11-23 07:07:16 +00:00
  • 068f6c9994 CVS_SILENT made messages Script Kiddy 2003-11-22 06:47:13 +00:00
  • f859769bb3 use the settings for xinerama placement George Staikos 2003-11-21 23:05:35 +00:00
  • 875fc62836 Reimplement Xinerama placement. Patch from Balaji Ramani. George Staikos 2003-11-21 23:00:38 +00:00
  • 528b0ed6d7 Fix #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
  • 225f12f1d3 Attempt 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
  • 064f1538c8 Hmm, 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
  • d1cd1a1b18 Check for deletion while handling mouse release on the close button. Fixes #67267. Luboš Luňák 2003-11-20 13:31:19 +00:00
  • b7e040b873 Fix #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
  • 1f4cc0d542 Fix problem with kppp's systray icon reappearing (http://lists.kde.org/?l=kde-core-devel&m=106931968918881&w=2). Luboš Luňák 2003-11-20 11:56:01 +00:00
  • b3c1af874a Temporarily 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
  • d6721e0b7a No warnings. Luboš Luňák 2003-11-20 09:05:00 +00:00
  • 4e8799f86c CVS_SILENT made messages Script Kiddy 2003-11-20 06:35:43 +00:00
  • b2b60d647f Change 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
  • 0fb3d41e26 If 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
  • 290d7207e6 Make sure the unconstrained_stacking_order list contains all clients. First part for #68553. Luboš Luňák 2003-11-19 10:42:23 +00:00
  • 95cc10f6ca Try harder to find the matching topmenu for kdesktop. Luboš Luňák 2003-11-18 18:10:36 +00:00
  • b55f71dcb7 Debug output not necessary anymore. Luboš Luňák 2003-11-18 17:07:40 +00:00
  • 50d05b4ee5 CVS_SILENT made messages Script Kiddy 2003-11-18 06:35:17 +00:00
  • 895627ddf9 CVS_SILENT made messages Script Kiddy 2003-11-16 06:44:37 +00:00
  • 8c19bd27a6 CVS_SILENT made messages Script Kiddy 2003-11-15 06:53:57 +00:00
  • dc833b8b90 CVS_SILENT made messages Script Kiddy 2003-11-14 06:40:58 +00:00
  • e7c55a0c89 Ouch ... thanks to Ossi for noticing. Luboš Luňák 2003-11-13 18:27:31 +00:00
  • e243bdd43c Open 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
  • 33e9753f6b If 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
  • e636ef9f6b Windows on all desktops are indeed on all desktops. Luboš Luňák 2003-11-13 17:13:17 +00:00
  • 182804067c cvsrevertlast - stupid idea Luboš Luňák 2003-11-13 15:57:18 +00:00
  • ab67bd0e89 inOnDesktop( NET::OnAllDesktops ) should always return true. Luboš Luňák 2003-11-13 15:50:56 +00:00
  • 037e47326c Fix the strange stacking described in #68071. Luboš Luňák 2003-11-13 15:34:04 +00:00
  • d46c7413c4 Hopefully 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
  • 0ec4c11585 Small topmenu fixes. Luboš Luňák 2003-11-12 10:03:42 +00:00
  • 1d71c9839b Reserve 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
  • 6c3176c74c Avoid transient loops with group transients. CCMAIL: 67914-done@bugs.kde.org Luboš Luňák 2003-11-12 09:02:37 +00:00
  • 54f02cc235 fix messages target Lukáš Tinkl 2003-11-11 22:22:54 +00:00
  • f4604d4162 Make 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
  • bd81e83d55 Override-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
  • aa368f0cdc CVS_SILENT made messages Script Kiddy 2003-11-11 07:12:58 +00:00
  • d369e69db0 KWin controls showing/hiding of topmenus, block requests for it. Luboš Luňák 2003-11-10 18:50:38 +00:00
  • f8886f4f01 Make sure desktop is active after startup if there's no other window active Luboš Luňák 2003-11-10 18:09:16 +00:00
  • 70645a691a When 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
  • 07b08d5d99 Don't use struts if KWin itself restricts workarea size by topmenus. Luboš Luňák 2003-11-10 18:08:04 +00:00
  • 468633c0f7 Fix reverseLayout Fix colors. But title bar pixmap must be reversed Laurent Montel 2003-11-10 13:57:21 +00:00
  • 7669c1296d if(bla) delete bla; -> delete bla Laurent Montel 2003-11-10 13:44:08 +00:00
  • a79264cc46 Fix reverselayout Laurent Montel 2003-11-10 13:21:53 +00:00
  • 60254757fe Fix #67681: "Plastik style often displays incorrect maximize button" CCMAIL: 67681-done@bugs.kde.org Sandro Giessl 2003-11-09 18:47:08 +00:00
  • 14ec262147 I'm glad you didn't actually write the "General Public Li_n_cense" :P Clarence Dang 2003-11-09 13:40:49 +00:00
  • 9582208fca Fixed rendering glitch in the "normalize" icon. Luciano Montanaro 2003-11-09 00:41:10 +00:00
  • e3fd05e402 Remove 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
  • 3310ff98fb CVS_SILENT made messages Script Kiddy 2003-11-08 06:43:19 +00:00
  • d2c1750fa9 Fix #67072 and all its dupes. Luboš Luňák 2003-11-04 10:53:04 +00:00
  • 29d74cee50 CVS_SILENT made messages Script Kiddy 2003-11-04 06:48:34 +00:00
  • 2ebc2443fc Call decoration->borders() etc. in resetMaximize() too. -- Fixes some more problems for the Keramik decoration. Sandro Giessl 2003-11-03 22:37:58 +00:00
  • cdd2873097 CVS_SILENT made messages Script Kiddy 2003-11-03 07:27:19 +00:00
  • 6714a92f92 The border size seemed wrong in latest CVS Luciano Montanaro 2003-11-02 16:35:59 +00:00
  • fd896cc84d Get 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
  • 69f858427e Make titlebar buttons only react on left-click, if they have one function only. Sandro Giessl 2003-11-02 11:03:41 +00:00
  • 7008c02051 Make 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
  • 3726cc23fd IMHO 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
  • 3b365b13e3 CVS_SILENT made messages Script Kiddy 2003-11-01 06:44:07 +00:00
  • 0d96e60c81 Yet 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
  • 50a9e9aa2e Enabled 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
  • b878ad84d9 Make 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
  • f7a59dfd24 Removing 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
  • 76c19742f4 Here as well - don't flicker. Luboš Luňák 2003-10-30 18:25:43 +00:00
  • 78a31324a0 Make 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
  • abdfd596b2 And one more case of flickering ... how comes nobody complained? Luboš Luňák 2003-10-30 18:01:43 +00:00
  • 323806acbe Don'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
  • 240ad036d0 Make 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
  • 0ccd76db5f CVS_SILENT made messages Script Kiddy 2003-10-30 06:59:45 +00:00
  • ea011dda6a Borrowed 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
  • 4d095886af CVS_SILENT made messages Script Kiddy 2003-10-29 06:57:32 +00:00
  • 72be607175 CVS_SILENT made messages Script Kiddy 2003-10-28 07:40:05 +00:00
  • b884178c99 KDecoration::unobscuredRegion(), for B2 titlebar unhiding. Luboš Luňák 2003-10-27 16:28:53 +00:00
  • 1709cb0e44 Make KDecoration::minimumSize() mean the whole decoration size, not the inner window size. Luboš Luňák 2003-10-27 14:42:43 +00:00
  • c07ab48f67 CVS_SILENT style guide fixes Stephan Binner 2003-10-27 09:51:27 +00:00
  • b7adc9ecab CVS_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
  • 5698d10846 CVS_SILENT Typographical corrections and changes Malcolm Hunter 2003-10-24 11:24:15 +00:00
  • b9323cd4b2 Don'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
  • 3a23e0775d Fix 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
  • 9d2a1433dc CVS_SILENT CVS_SILENT Typographical corrections and changes - ouch\! Malcolm Hunter 2003-10-23 17:47:16 +00:00