Commit graph

1045 commits

Author SHA1 Message Date
Dana Jansens
04494f100b dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter
2003-02-19 01:29:11 +00:00
Dana Jansens
d2a1ecb1b5 let any number of mouse buttons work 2003-02-19 01:07:29 +00:00
Dana Jansens
d647de97be add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode. 2003-02-19 00:58:59 +00:00
Dana Jansens
503638dbc6 typo! 2003-02-18 22:57:28 +00:00
Dana Jansens
a1a606d4f8 watch for case where we think one button is pressed but it isnt anymore, making Click events get missed 2003-02-18 15:59:36 +00:00
Dana Jansens
ccb58d37ee adjust to the new format for otk::Proeprty::get() functions (no nelements)
let the user specify if it is a 'final' move for a window or not, and the client will only be sent a ConfigureNotify if it is.
2003-02-17 21:50:48 +00:00
Dana Jansens
232092fa21 provide a function to return all the desktop names instead of one at a time.
adjust to the new format for otk::Proeprty::get() functions (no nelements)
2003-02-17 21:49:39 +00:00
Dana Jansens
3240c1d94e check for no screens before asserting 2003-02-17 19:17:17 +00:00
Dana Jansens
fbfa279862 dont need preprocessor shit for swig 2003-02-17 17:39:22 +00:00
Dana Jansens
0dd7ebcba9 add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms
2003-02-17 15:11:03 +00:00
Dana Jansens
c15dced3b9 this has been moved to wrap/ 2003-02-17 15:10:16 +00:00
Dana Jansens
b3879a2323 s/False/false/ 2003-02-17 13:42:01 +00:00
Dana Jansens
c6930ae234 rm the SWIG ifdefs 2003-02-17 12:46:55 +00:00
Dana Jansens
361303715b kill the typedef 2003-02-17 12:46:32 +00:00
Dana Jansens
136c9c078d support for pixmap icons, kwm_win_icon and the icon in wmhints 2003-02-16 21:57:21 +00:00
Dana Jansens
0c2f0e0b5e keep track of the kwm_win_icon property 2003-02-16 20:11:02 +00:00
Dana Jansens
93ea4c4d2e supply more information about errors when running scripts 2003-02-16 18:16:55 +00:00
Dana Jansens
16a952c35d adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed 2003-02-16 18:14:05 +00:00
Dana Jansens
893faed7b1 order things to work correctly for now, with the python loading and the the config setting 2003-02-16 18:09:06 +00:00
Dana Jansens
c8789ccdbf execute files such that i can track if an exception was thrown in it 2003-02-16 16:33:37 +00:00
Dana Jansens
8ed79248e7 when python_exec fails on user.py:
a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
2003-02-16 16:33:12 +00:00
Dana Jansens
8cbabdcb93 import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
2003-02-16 16:32:21 +00:00
Dana Jansens
afe1d9e3a8 still draw the background when no text will fit 2003-02-16 10:05:29 +00:00
Dana Jansens
532697b21a put the desktop names in the right variable 2003-02-16 09:08:34 +00:00
Derek Foreman
73a584981e Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
2003-02-16 06:55:11 +00:00
Dana Jansens
fd76689470 dont provide a default icon in the python stuff, itll come from the style 2003-02-15 12:47:05 +00:00
Dana Jansens
7fe3301e7e Add the "obsetroot" tool. Use it to set the root background. 2003-02-14 23:05:59 +00:00
Dana Jansens
299dc47a6b rm shit that no longer applies 2003-02-14 22:53:24 +00:00
Dana Jansens
53b5c60a5e check if the window is focused before unfocusing it 2003-02-14 18:31:52 +00:00
Dana Jansens
f78761c8dd just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways. 2003-02-14 11:09:01 +00:00
Dana Jansens
29d030cc3e use an icon smaller than the surface if possible 2003-02-14 08:47:37 +00:00
Dana Jansens
0b466d7136 kill debug prints 2003-02-14 08:20:54 +00:00
Dana Jansens
49974f6916 dont put DEBUG: in the printf 2003-02-14 06:22:29 +00:00
Dana Jansens
50002f2ceb add a default icon 2003-02-14 05:48:31 +00:00
Dana Jansens
e936cba57e rm debug print 2003-02-14 03:44:00 +00:00
Dana Jansens
2f2d6e736e layout the titlebar right, was adding too much space when buttons were removed from the titlebar 2003-02-14 03:13:26 +00:00
Dana Jansens
059bc4dc24 add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
2003-02-14 03:04:23 +00:00
Dana Jansens
238355f190 put the Python.h header in the .cc 2003-02-13 23:44:47 +00:00
Dana Jansens
54e85b2599 only keep fullscreen windows in the top layer when they or a relative is focused 2003-02-13 23:44:32 +00:00
Dana Jansens
07305ec718 display icons in the frame titlebar! 2003-02-13 10:23:22 +00:00
Dana Jansens
af27d7b7f0 doc _layer.
add an Icon struct
2003-02-13 07:38:45 +00:00
Dana Jansens
939e7887ce notify the frame when the desktop changes 2003-02-13 07:35:25 +00:00
Dana Jansens
23cc9e0546 show state with the alldesktops and max buttons 2003-02-13 07:32:30 +00:00
Dana Jansens
f898314662 buttons press! 2003-02-13 07:30:11 +00:00
Dana Jansens
c88451f0c1 readd titlebar buttons. but they dont press yet 2003-02-13 07:18:11 +00:00
Dana Jansens
8ad1d0bb99 clear the stringlist before populating it 2003-02-13 04:37:41 +00:00
Dana Jansens
7c32ac2b3f proper order for headers 2003-02-12 06:49:06 +00:00
Dana Jansens
555facb9c7 free the surfaces' pixeldata after rendering it 2003-02-11 22:38:29 +00:00
Dana Jansens
e429ce39de new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot 2003-02-11 21:05:50 +00:00
Dana Jansens
7112755cfc add a comment regarding the client.area() being not-what-you-want 2003-02-11 20:20:01 +00:00