summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2010-12-24Allow plugins to initiate scale when initiated to change the matchSam Spilsbury1-7/+8
2010-12-24Don't clear terminate state until action is actually finished clearing up.Sam Spilsbury1-3/+3
Clearing the terminate state before this will confuse other plugins which check activity states
2010-12-23Add signals for viewport change begin/endSam Spilsbury1-0/+6
2010-12-19Other mouse buttons should be allowed to change the selected window.Sam Spilsbury1-4/+7
But only button 1 should be able to select windows and terminate scale mode. Fixes incorrectly selected window when the mouse has not been moved after scale mode has been initiated and the mouse is hovering over an unselected window, and then Button2, or Button3 eg is pressed. This broke scaleaddon's pull window and close window bindings. Fixes LP #691087
2010-12-13CleanupSam Spilsbury1-2/+1
2010-12-13Send window id in decoration notificationSam Spilsbury1-1/+5
2010-12-13Fix unintialized variable usageSam Spilsbury2-6/+8
2010-12-13Also beautifySam Spilsbury1-8/+8
2010-12-13Break after updating after reparentSam Spilsbury1-0/+1
2010-12-13Add a compiz event for when we have been decoratedSam Spilsbury1-0/+3
2010-12-11Ensure decoration is updated on shade. Fixes artifacts.Sam Spilsbury2-4/+33
Previously we'd rely upon a change in winDecorAtom to tell us when to update the decoration, however now that we are reparenting we can't do that anymore so hook windowNotify to watch for shade and unshade and then force the decoration to be updated on resizeNotify if this is the case.
2010-12-09Fix some typoes and handle the case where the window is already under a dockSam Spilsbury1-9/+19
2010-12-09Be a little bit more clever about constraining resizes to workareas.Sam Spilsbury2-4/+147
Basically we want to constrain resizes to workareas, but not in the case where two outputs touch. In the case that two outputs touch they must be directly adjacent and there must not be a panel or dock in the way
2010-12-07Also handle windows that have a server border set in pointer placement mode.Sam Spilsbury1-2/+5
Also fix typo. Forward port 1d5f80cd52274484ecb59a1c8f7e7b6cea3b1844 to master
2010-12-07Correctly reflect that the switcher window is managed.Sam Spilsbury2-1/+17
Forward port 46371f9172089a3e60648b834611d5694df2e80b to master
2010-12-07Make short descriptions in opacity a little more verboseSam Spilsbury1-12/+12
Forward port f089351c2d6d62302e59f52a810b722808a4a574 to master
2010-12-07resize: Remove constrain_y, limit to work area instead of screen edges.Sam Spilsbury2-60/+36
Forward port 3075fa6eac1f4c7faa804b319f916899589702cc
2010-12-07resize: Fix typoSam Spilsbury1-1/+1
2010-12-07resize: Allow resizing outside screen edges when initiated with key.Sam Spilsbury2-4/+8
Forward port 6e281003bbcb01ac028aa963ab1bee0349c41376 to master
2010-12-07place: Fix typo (off by one error)Sam Spilsbury1-2/+2
Forward port 4832c514b0c460febc90720a61c11d6a0f64ec84 to master
2010-12-07Also set constrainY to FALSE if move is not loaded.Sam Spilsbury1-1/+1
Forward port 615d823f5edc26eaa12e83c97099c7ab0f017968 to master
2010-12-07Constrain resizes to screen edges and fix constraining.Sam Spilsbury1-5/+39
Forward port 6c12e5a60297143a72c4e4bb104b0c35102ff3f4 to master
2010-12-07resize: Obey move's constrain_y optionSam Spilsbury2-1/+35
Forward port 0d23e499774769d295509f189fbf4b7c21763ef6 to master
2010-12-07scale: Properly remove closing window.Sam Spilsbury2-8/+25
Forward port 96e59168920650f49c5e79b342261c863694fb23 to master
2010-12-07Switcher: prevent simulataneous plugin uses that don't make sense.Sam Spilsbury2-7/+7
Forward port 1974f9b5bfbab24023a0a647b606eedccbb83d04 to master
2010-12-07gnomecompat: Default to gnome-terminal for terminal keybinding.Sam Spilsbury1-1/+1
Forward port 060a99697cde9105c85623cb464a36b46da3bf97 to master
2010-12-07Don't take screenshot if Escape was pressed.Sam Spilsbury1-0/+3
Forward port c9239e92fe0b2d6bfc674b523313617017ca062f to master
2010-12-06Revert "Fix windows being forever treated as "not managed" in focus () and ↵Sam Spilsbury1-0/+1
not entering into scale mode, etc" This reverts commit 51e01727d309f39e3f42ecf6b53b4ebb31a385dc. There is a better way to do this
2010-12-05Fix windows being forever treated as "not managed" in focus () and not ↵Sam Spilsbury1-1/+0
entering into scale mode, etc We need to re-set unmanaging too once managed is set again
2010-12-04Fix windows consistently moving by gravity * window decoration extents.Sam Spilsbury1-1/+15
The behaviour from 0.8 was ported to update decoration windows on the window destructor, but because we are moving windows on a timer in order to handle reparenting issues when decorating them, this also causes the time to be destroyed when the CompWindow is, so the windows never actually get moved back into place correctly. FIXME: Timers should have a referencing system, it does not make sense that we have to preserve their scope
2010-12-04Fix typoSam Spilsbury1-2/+2
2010-12-04The window must always have a frame before we do anything with itSam Spilsbury1-1/+1
2010-12-04Wait until reparent to decorateSam Spilsbury2-7/+16
2010-12-04Fix typo which caused windows not to be recognizedSam Spilsbury1-1/+1
2010-12-04Revert "Constrain windows to workArea when moving for decorations"Sam Spilsbury1-25/+0
This reverts commit d07d0103b7e76a10fb9b360d25c4ec32470eaa53.
2010-12-03Fix typo which caused windows > screen height to be placed incorrectlySam Spilsbury1-6/+8
2010-12-03Fix typosSam Spilsbury1-5/+5
2010-12-03Fix window position validation for windows that change size withoutSam Spilsbury1-0/+5
changing position. Previously, we left the position of windows that have USPosition set untouched, even if they didn't try to change position at all, but only changed size. This caused such windows to become partially offscreen e.g. if they were positioned at the lower edge of the work area before the size change and increased height afterwards. Forward port 3c16152938c44454f42d08a4b92cc46093c9a782 to master
2010-11-23fix typos and leftover from previous commitDidier Roche1-2/+3
2010-11-23add signals for the bailer plugin + hw rendering detectionDidier Roche1-1/+25
2010-11-22Damage rectangles correctly when coming out of stretch resize mode from ↵Sam Spilsbury1-2/+20
constrainment
2010-11-21Drop the individual bindings for resize modes and move to a mod mask systemSam Spilsbury3-32/+245
2010-11-21Turn resize_from_center into a matchSam Spilsbury3-9/+12
2010-11-12Added a simple CMake buildsystem extensions systemSam Spilsbury1-2/+3
2010-11-05Release the connection name on unload so we don't cause dbus to get angry on ↵Sam Spilsbury1-7/+9
::updatePlugins
2010-11-05Revert "Don't queue incoming name requests and it is also safe to unref the bus"Sam Spilsbury2-23/+20
This reverts commit efcbe55d9fae7553acadf731bc3b15f46dae99cf.
2010-11-05Don't queue incoming name requests and it is also safe to unref the busSam Spilsbury2-20/+23
in the case that we aren't unreffing it due to plugin failure
2010-10-29Constrain windows to workArea when moving for decorationsSam Spilsbury1-0/+25
Since we move the window to account for adding the decorations on a zero timer (eg, after handleEvent, where windows have already been placed) we need to make sure we account for the workArea (so that we don't move windows below panels and offscreen)
2010-10-29Fix typosSam Spilsbury1-42/+56
2010-10-26Change the match expression handler after Regex screen constructor.Sam Spilsbury2-1/+25
It is possible for RegexWindow::get () to be called from this wrapped function, which is wrong because memory for a RegexWindow hasn't yet been allocated. (CompScreen::matchExpHandlerChanged -> SomePlugin::CompMatch::Evaluate -> RegexExp::evaluate -> RegexWindow::get)